Motion detection mechanism for laser illuminated optical mouse sensor

ABSTRACT

A method for measuring relative motion between an illuminated surface and an optical sensing device comprising a coherent light source and a photodetector array is described. The method includes illuminating under a determined gradient, using the coherent light source, a surface portion at a determined flash rate; detecting, using the photodetector array, speckled light intensity pattern of the illuminated surface portion for a first flash; detecting a second speckled light intensity pattern of the illuminated surface portion for a second flash; extracting motion features of two different types from the detected first and second speckled light intensity patterns; determining a measurement of relative motion between the optical sensing device and the illuminated surface portion based on comparison of motion features extracted; wherein the method further comprises a filtering step in order to adjust, and preferably decrease, the number of motion features used in the step of determining a measurement of relative motion.

This application is a Continuation-in-Part of U.S. patent application Ser. No. 11/165,537, filed Jun. 24, 2005, which claims priority from European Patent Application No. 05102845.4 filed Apr. 11, 2005, wherein the entire disclosures of both of the above applications are incorporated herein by reference.

FIELD OF THE INVENTION

The present invention generally relates to pointing devices, in particular for controlling the position of a cursor on a screen, such as the display of a personal computer, workstation or other computing devices having a graphic user interface. Such pointing devices may for instance include mice, trackballs and other computer peripherals for controlling the position of a cursor on a display screen.

The present invention more particularly relates to the field of pointing devices that comprise an optical sensing device including a photodetector array for measuring the varying intensity pattern of a portion of a surface which is illuminated with radiation and for extracting information about the relative motion between the photodetector array and the illuminated portion of the surface.

BACKGROUND OF THE INVENTION

Such an optical pointing device is already known in the art. International Patent Application No WO 03/049018, filed in the name of the same Assignee, which is incorporated herein by reference, discloses a method as well as a device for motion detection in an optical sensing device, such as an optical mouse. Also incorporated herein are the disclosures of (1) U.S. Provisional Patent Application No. 60/335,792, and (2) U.S. patent application Ser. No. 10/001,963, and (3) U.S. Patent Application Publication No. US 2003/0102425 A1, all of which correspond to International Patent Application No WO 03/049018.

Nevertheless optical pointing devices using a Light Emitting Diode (LED) as illumination source does not present the expected tracking performances for all kinds of surfaces, in particular on wood or glass. As an alternative to a LED, some recent pointing devices utilize a laser illumination source as a solution to the surface coverage reduction problem. However, the image that results from laser illumination is dominated by interference patterns commonly referred to as speckle. Among the factors that contribute to the speckle pattern are the type of the illumination source, system optics and the surface topography.

The image formed by laser illumination has a high spatial frequency content that prevents motion detection methods of the prior art, in particular the “Peak/Null Motion Detection” algorithm disclosed in WO 03/049018, from working efficiently for all kind of surfaces. Indeed with a laser illumination source, the number of motion features seen by the photodetector device is very high. This unusually high number of detected motion features has a negative impact on the way the photodetector will detect “loss of tracking” condition, which can be detected by looking at the number of motion features of the current flash that appear to come from nowhere from the previous flash, defined as “ghost motion features”. The failure to properly detect a “loss of tracking” condition results in poor performance during some motion conditions, such as high acceleration. When the photodetector experiences high rates of acceleration, it has to dynamically adjust the flash rate of the illumination source so that it may still track and determine the correct motion. The incorrect detection of “loss of tracking” causes deficiencies to appear in motion detection.

SUMMARY OF THE INVENTION

The object of the present invention is to overcome drawbacks of the aforementioned prior art by providing a more reliable detection motion calculation method and an optical sensing device thereof.

Thus, the invention generally concerns a method for measuring relative motion between an illuminated portion of a surface and an optical sensing device comprising a coherent light source and a photodetector array, the method comprising the steps of:

illuminating under a determined gradient by means of the coherent light source the surface portion at a determined flash rate;

detecting by means of the photodetector array speckled light intensity pattern of the illuminated portion of the surface for a first flash;

detecting a second speckled light intensity pattern of the illuminated portion of the surface for a second flash;

extracting motion features of two different types from the detected first and second speckled light intensity patterns; and

determining a measurement of the relative motion between the optical sensing device and the illuminated portion of the surface based on a comparison of motion features extracted.

The present invention also generally concerns an optical motion sensing device comprising:

a coherent light source for illuminating under a determined gradient a surface portion with radiation at a determined flash rate;

a photodetector device responsive to radiation reflected from the illuminated surface portion which determines a speckled light intensity pattern for each flash;

means for extracting motion features of two different types from the speckled light intensity patterns;

processing means for determining, based on the extracted motion features, a measurement of relative motion between the sensing device and the illuminated portion of the surface.

In accordance with a first embodiment of the present invention, a method for measuring relative motion between an illuminated portion of a surface and an optical sensing device comprising a coherent light source and a photodetector array is provided, wherein the method comprises the steps of: (a) illuminating under a determined gradient by means of the coherent light source the surface portion at a determined flash rate; (b) detecting by means of the photodetector array speckled light intensity pattern of the illuminated portion of the surface for a first flash; (c) detecting a second speckled light intensity pattern of the illuminated portion of the surface for a second flash; (d) extracting motion features of two different types from the detected first and second speckled light intensity patterns; (e) determining a measurement of the relative motion between the optical sensing device and the illuminated portion of the surface based on a comparison of motion features extracted; wherein before the step of determining a measurement of the relative motion, the method further comprises the step of: (e) modifying/adjusting the gradient under which the surface portion is illuminated. In accordance with a second embodiment of the present invention, the first embodiment is further modified so that the optical sensing device comprises an optical lens to focus the radiation reflected from the illuminated surface portion on the photodetector device and wherein the method comprises a preliminary step consisting in: (f) adjusting the position of the coherent light source and/or moving the optical lens for obtaining an optical gradient.

In accordance with a third embodiment of the present invention, the photodetector device comprises an array of pixels and the means for extracting motion features comprises comparators, wherein the motion features extracting step consists in: (g) comparing light intensity between neighbouring pixels from the detected first and second speckled light intensity patterns and extracting motion features as a result of the comparison; and wherein the method further comprises the step of: (h) introducing an offset in the comparators. In accordance with a fourth embodiment of the present invention, the third embodiment is modified so that the method comprises the step of introducing an adjustable offset in the comparators.

In accordance with a fifth embodiment of the invention, the step for determining a measurement of relative motion comprises a sub-step consisting in: (i) defining an intensity threshold under which the extracting means do not extract any motion features. In accordance with a sixth embodiment of the present invention, the fifth embodiment is further modified so that the intensity threshold is adjustable. In accordance with a seventh embodiment of the present invention, the step for determining a measurement of relative motion comprises sub-steps consisting in: (j) defining at least two intensity thresholds under which the extracting means do not extract any motion features; and (k) selecting one of the at least two intensity thresholds.

In accordance with an eighth embodiment of the present invention, an optical motion sensing device is provided that includes: (a) a coherent light source for illuminating under a determined gradient a surface portion with radiation at a determined flash rate; (b) a photodetector device responsive to radiation reflected from the illuminated surface portion which determines a speckled light intensity pattern for each flash; (c) means for extracting motion features of two different types from the speckled light intensity patterns; (d) processing means for determining, based on the extracted motion features, a measurement of relative motion between the sensing device and the illuminated portion of the surface; wherein the processing means further comprise selecting means formed by filtering means for modifying/adjusting the gradient. In accordance with a ninth embodiment of the present invention, the photodetector device comprises an array of pixels and the means for extracting motion features comprises comparators for comparing light intensity between pixels and means for determining motion features as a result of the comparison, wherein the filtering means consists in introducing an offset in the comparators. In accordance with a tenth embodiment of the present invention, the ninth embodiment is further modified so that the offset is an adjustable offset. In accordance with an eleventh embodiment of the present invention, the tenth embodiment is further modified so that it further comprises a feedback loop acting on the adjustable offset for adjusting the density of motion features.

In accordance with a twelfth embodiment of the invention, the filtering means consist in an optical gradient. In accordance with a thirteenth embodiment of the invention, the twelfth embodiment is further modified so that the optical motion sensing device comprises an optical lens to focus the radiation reflected from the illuminated surface portion on the photodetector device and wherein the optical gradient is obtained by adjusting the position of the coherent light source and/or moving the optical lens.

In accordance with a fourteenth embodiment of the present invention, the filtering means consist in defining an intensity threshold under which the extracting means do not extract any motion features. In accordance with a fifteenth embodiment of the present invention, the fourteenth embodiment is further modified so that the intensity threshold is adjustable. In accordance with a sixteenth embodiment of the present invention, the fifteenth embodiment is further modified so that the filtering means consist in defining at least two intensity thresholds under which the extracting means do not extract any motion features and wherein the sensing device further comprises selecting means for selecting one of the at least two intensity thresholds.

Thus, the method according to the invention comprises three main embodiments, each solving a same problem in different ways by implementing various filtering steps. The device, according to the present invention, also comprises three main embodiments provided with various filtering means that solve a same problem in different manners. The first main embodiment of the method, according to the present invention, concerns a method for measuring relative motion between an illuminated portion of a surface and an optical sensing device, wherein the optical sensing device comprises a coherent light source and a photo-detector device, wherein the photo-detector includes an array of pixels associated with comparators for comparing light intensity between neighbouring pixels, wherein the method includes the steps of: (a) illuminating by means of the coherent light source the surface portion at a determined flash rate; (b) detecting by means of the photo-detector device a speckled light intensity pattern, defining first and second axes, of the illuminated portion of the surface for each flash and determining positive and negative edges in this pattern along the first and second axes; (c) extracting Peaks and Nulls for each of the detected speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; (d) determining a measurement of the relative motion between the optical sensing device and the illuminated portion of the surface based on a comparison of extracted Peaks and Nulls of successive detected speckled light intensity patterns; wherein the method further comprises the preliminary step of (e) modifying or adjusting a light intensity gradient under which the surface portion is illuminated.

The second main embodiment of the method, according to the present invention, concerns a method for measuring relative motion between an illuminated portion of a surface and an optical sensing device, wherein the optical sensing device comprises a coherent light source and a photo-detector device, wherein the photo-detector device includes an array of pixels associated with comparators for comparing light intensity between neighbouring pixels, wherein the method includes the steps of: (a) illuminating by means of the coherent light source the surface portion at a determined flash rate; (b) detecting by means of the photo-detector device a speckled light intensity pattern, defining first and second axes, of the illuminated portion of the surface for each flash and determining positive and negative edges in this pattern along the first and second axes; (c) extracting Peaks and Nulls for each of the detected speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; (d) determining a measurement of the relative motion between the optical sensing device and the illuminated portion of the surface based on a comparison of extracted Peaks and Nulls of successive detected speckled light intensity patterns; wherein, before extracting Peaks and Nulls, the method further comprises the step of (e) introducing an offset at one input of the comparators.

The third main embodiment of the method, according to the present invention, concerns a method for measuring relative motion between an illuminated portion of a surface and an optical sensing device, wherein the optical sensing device comprises a coherent light source and a photo-detector device, wherein the photo-detector device includes an array of pixels associated with comparators for comparing light intensity between neighbouring pixels, wherein the method includes the steps of: (a) illuminating by means of the coherent light source the surface portion at a determined flash rate; (b) detecting by means of the photo-detector device a speckled light intensity pattern, defining first and second axes, of the illuminated portion of the surface for each flash and determining positive and negative edges in this pattern along the first and second axes; (c) extracting Peaks and Nulls for each of the detected speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; (d) determining a measurement of the relative motion between the optical sensing device and the illuminated portion of the surface based on a comparison of extracted Peaks and Nulls of successive detected speckled light intensity patterns; and (e) defining an intensity threshold under which the Peaks and Nulls are not extracted.

The first main embodiment of the device, according to the present invention, concerns an optical motion sensing device that includes: (a) a coherent light source for illuminating a surface portion with radiation at a determined flash rate; (b) a photo-detector device disposed to respond to radiation reflected from the illuminated surface portion and determining a speckled light intensity pattern of the illuminated surface portion for each flash, wherein the intensity pattern defines first and second axes; (c) means for determining positive and negative edges in this pattern along the first and second axes; (d) means for extracting Peaks and Nulls for each of the speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; (e) processing means for determining, based on the extracted Peaks and Nulls of successive detected speckled light intensity patterns, a measurement of relative motion between the optical motion sensing device and the illuminated portion of the surface; and (f) filtering means disposed to modify or adjust the light intensity gradient of the radiation impinging on the surface portion.

The second main embodiment of the device, according to the invention, concerns an optical motion sensing device that includes: (a) a coherent light source for illuminating a surface portion with radiation at a determined flash rate; (b) a photo-detector device, disposed to be responsive to radiation reflected from the illuminated surface portion and determining a speckled light intensity pattern of the illuminated surface portion for each flash, wherein the intensity pattern defines first and second axes; (c) means for determining positive and negative edges in this pattern along the first and second axes; (d) means for extracting Peaks and Nulls for each of the speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; and (e) processing means for determining, based on the extracted Peaks and Nulls of successive detected speckled light intensity patterns, a measurement of relative motion between the optical motion sensing device and the illuminated portion of the surface; wherein the photo-detector device comprises an array of pixels, and the means for determining positive and negative edges comprises comparators for comparing light intensity between neighbouring pixels in order to determine these positive and negative edges; and (f) filtering means formed by an offset at one input of the comparators.

Finally, the third main embodiment of the device, according to the present invention, concerns an optical motion sensing device that includes: (a) a coherent light source for illuminating a surface portion with radiation at a determined flash rate; (b) a photo-detector device disposed to be responsive to radiation reflected from the illuminated surface portion and determining a speckled light intensity pattern of the illuminated surface portion for each flash, wherein the intensity pattern defines first and second axes; (c) first means for determining positive and negative edges in this pattern along the first and second axes, wherein the first means is associated with the photo-detector; (d) second means for extracting Peaks and Nulls for each of the speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; and (e) processing means for determining, based on the extracted Peaks and Nulls of successive detected speckled light intensity patterns, a measurement of relative motion between the optical motion sensing device and the illuminated portion of the surface; and (f) filtering means defining an intensity threshold under which the extracting means do not extract any Peaks and Nulls.

Further objects, features and advantages of the present invention will become apparent from the Detailed Description of the Invention, which follows, when considered together with the attached drawings.

BRIEF DESCRIPTION OF THE FIGURES

FIG. 1 is a schematic block diagram of an optical pointing device;

FIG. 2 is an image of a detected speckled light intensity pattern when using a coherent light source;

FIG. 3 is a schematic illustration of edge inflection conditions, or peaks and nulls, derived from a sequence of edge direction conditions along a determined axis of the photodetector device;

FIGS. 4 a and 4 b are schematic illustrations of extracted motion features from speckled light intensity patterns obtained with a coherent light source.

DETAILED DESCRIPTION OF THE INVENTION

In the following description, the motion detection method will be described in an illustrative and non-limiting manner in relation with an optical pointing device as illustrated in FIG. 1. However, it will be appreciated that any other suitable optical pointing device may be used in order to implement the method according to the invention.

FIG. 1 is a generalized schematic block diagram of an optical pointing device. It comprises a photodetector array 100 including a plurality of pixels, this photodetector array 100 being coupled to processing means 110 (or motion detection processing circuit) for processing the signals outputted by the photodetector array 100.

A comparator array 120 may be interposed between processing means 110 and array 100, this comparator array 120 including a plurality of comparator circuits each for comparing the light intensity of a first pixel of array 100 with the light intensity of a second pixel of array 100 and for outputting resulting motion feature conditions.

The optical pointing device further comprises at least one coherent light source 130 such as a laser illumination source, which produces radiation at a determined flash rate, that impinges with a determined gradient on a portion of a surface S. Surface S may be a planar or non-planar surface, such as a surface over which the pointing device is moved (as in the case of an optical mouse), the surface of a ball (as in the case of an optical trackball) or any other suitable surface that may provide an appropriate speckled intensity pattern for detection by photodetector array 100.

Processing means 110 is further adapted to communicate in a bi-directional manner with an interface 140 that communicates in turn with a host system (not illustrated) over a bus 150. Cursor control signals (and eventually other signals related to the optical pointing device) are supplied to the host system over bus 150. Processing means 110 may also receive information, such as configuration signals, over bus 150 from the host system.

Processing means 110 is essentially designed to intermittently sample the pixel outputs of photodetector array 100 in accordance with a defined sequence. The information of two successive samples or speckled images is compared and a relative motion measurement is extracted by processing means 110. The adequate cursor control signals are then derived from the relative motion measurement and transmitted to the host system via line interface 140.

However, as it has been already mentioned in the introduction of the specification, the light intensity pattern detected by photodetector device 100 forms a speckled image as represented on FIG. 3 which presents too many motion features which render motion detection less reliable. Since the large number of detected motion features, due to the coherent light source, may be viewed as excess and unnecessary information that has a negative impact on the tracking performance of the photodetector, a method is proposed that utilizes certain motion features and ignores those motion features that are not required for accurate motion detection. For that purpose according to an embodiment of the present invention, processing means 110 are provided with a motion feature selector 160 for keeping only some of the extracted motion features which are more representative of the motion. A specific example of selection means will be given below in relation with FIGS. 4 a and 4 b. Thus, with less motion features considered, the “loss of tracking” information may be triggered with greater accuracy and the flash rate adjusted suitably.

In order to further reduce the number of considered motion features when determining a measurement of the relative motion, it has been shown within the scope of the present invention, that the laser illumination has a fairly steep Gaussian gradient, which presents a high spatial frequency. Therefore, according to an advantageous embodiment, the optical sensing is provided with filtering means for either modifying or adjusting the gradient in order to enhance the tracking performances by filtering out the weak information, i.e. the tiny speckles responsible for lowering the signal-over-noise ratio. According to the fact that the extracted motion features exist only in the presence of a gradient, the variation of this gradient or a simulation equivalent to a gradient variation will act as a filter of these features. In the case of a large gradient for instance, a weak motion feature will vanish.

According to a first preferred embodiment, the filtering means are carried out in the form of an offset which is introduced at the input of comparator array 120. Comparator array 120 comprises several comparators used to compare light intensity between neighbouring pixels of the photodetector device 100. Each comparator has at least two inputs which each receive light intensity data from one pixel or group of pixels. Introduction of an offset at one input of each comparator has the same effect as an illumination gradient. Advantageously, one may introduce an adjustable offset in the comparison of pixel-output levels. Indeed, an offset in the pixel comparators can be electrically continuously well controlled. Further, different filtering can be applied independently to the two X and Y axes. According to a preferred variant of this first embodiment, it is provided with a feedback loop acting on the comparator offset for adjusting the density of motion features for optimal tracking performances.

According to a second embodiment, the filtering means are carried out by the means of an optical gradient. One variant of this second embodiment consists in adjusting the position of the coherent light source in order to modify the illumination gradient. Another variant of this second embodiment consists in moving an optical lens 170 which focuses the reflected radiation from the surface portion on the photodetector device. Both previous variants may be combined.

According to a third embodiment, the filtering means are carried out in the form of an, preferably adjustable, intensity threshold under which no motion features is extracted. As well as for the first embodiment, a feedback loop acting on the comparator offset for adjusting the density of motion features for optimal tracking performances may be provided. A variant of this third embodiment consists in defining at least two intensity thresholds under which no motion features is extracted and then providing with selecting means for selecting one of the at least two intensity thresholds for enhancing tracking performances.

FIG. 2 is an image of a detected speckled light intensity pattern when using a coherent light source. All white speckles have different intensity levels representative of the level of illumination. However with a coherent light source, the speckled image, which is a function of interference caused by the surface, has rather large amplitude variations of much higher spatial frequency. The typical speckle size is mainly driven by the optics. With realistic numerical apertures, this typical feature size may be relatively small compared to the pixel pitch. Consequently, a speckle image leads to a high density of motion features. In such a case, the ghost motion feature count becomes irrelevant for detecting a “loss of tracking” condition because this count remains at an artificially low level or even zero due to the high feature density. Some of these features may be qualified as weak features if they result from tiny speckles. Therefore it is proposed to filter out the weak information coming from tiny speckles responsible for lowering the signal-over-noise ratio and degrading motion detection reliability. For that reason filtering means is advantageously provided for limiting the number of motion features extracted from this light intensity patterns.

The method for motion detection disclosed in this document is based on the “Peak/Null Motion Detection” algorithm fully described in the International Patent Application WO 03/049018 which algorithm is incorporated herein by way of reference. Likewise, the same “Peak/Null Motion Detection” algorithm disclosed by corresponding disclosures of (1) U.S. Provisional Patent Application No. 60/335,792, and (2) U.S. patent application Ser. No. 10/001,963, and (3) U.S. Patent Application Publication No. US 2003/0102425 A1, are incorporated herein by reference.

This “Peak/Null Motion Detection” algorithm is based on so-called edge direction data. As represented on FIG. 3, a distinction is made between edges according to their “direction”. In particular, one defines two distinct edge direction conditions: (i) a first edge condition, or positive edge represented by upward arrows, defined as a condition wherein the light intensity of a first pixel is less than the light intensity of a second pixel; and (ii) a second edge condition, or negative edge represented by downward arrows, defined as a condition wherein the light intensity of the first pixel is greater than the light intensity of the second pixel. This edge direction conditions are determined for both axes X and Y.

Each row and column of the photodetector array is further analysed to find specific inflection conditions (hereinafter defined as a first inflection condition, or “peak”, and a second inflection condition, or “null”) in the direction of successive edges along a selected axis (in practice along both X and Y axes). As illustrated in FIG. 3, the first inflection condition, or peak, is defined as the succession, along a determined axis (X or Y), of a positive edge (arrow pointing upwards in FIG. 3) followed by a negative edge (arrow pointing downwards in FIG. 3). Similarly, the second inflection condition, or null, is defined as the succession, along the determined axis, of a negative edge followed by a positive edge.

FIGS. 4 a and 4 b are schematic illustrations of extracted motion features, comprising peaks and nulls as defined in the “Peak/Null Motion Detection” algorithm from speckled light intensity patterns (FIG. 2) obtained with a coherent light source. When considering the “Peak/Null Motion Detection” algorithm, the superposition of gradient and speckle results in inflection conditions that tend to occur in peak and null pairs. The direction of the gradient determines whether the pair occurs as peak/null or null/peak inflections. The proposed motion detection method according to the invention consists in the following steps:

illuminating under a determined gradient by means of the coherent light source the surface portion at a determined flash rate;

detecting by means of the photodetector array speckled light intensity pattern of the illuminated portion of the surface for a first flash;

detecting a second speckled light intensity pattern of the illuminated surface portion for a second flash;

extracting motion features of two different types, for instance peaks and nulls, from the detected first and second speckled light intensity patterns;

keeping only pairs of neighbouring motion features including one motion feature of both different types, for instance peak/null or null/peak inflections according to the direction of the gradient.

determining a measurement of the relative motion between the optical sensing device and the illuminated surface portion based on a comparison of remaining motion features.

Referring now to FIG. 4 a, motion feature selector 160 of FIG. 1 is implemented by selecting only pairs of peak/null inflections that are encircled and ignoring individually occurring peaks and nulls.

Referring now to FIG. 4 b represents some extreme cases where inflection conditions appear everywhere, i.e. one each pixel of the photodetector array, it is preferably provided with filtering means as detailed above. In such extreme cases, the motion detection method preferably further comprises the step of modifying or adjusting the gradient under which the surface portion is illuminated.

According to a first variant of this preferred method, the motion feature extracting step consists in comparing light intensity with an offset between neighbouring pixels from first and second speckled light intensity patterns and extracting motion features as a result of the comparison. Advantageously, the introduced offset is adjustable.

According to a second variant of this motion detection method, the optical sensing device comprises an optical lens to focus the radiation reflected from the illuminated surface portion on the photodetector device and the method comprises a preliminary step consisting in adjusting the position of the coherent light source and/or moving the optical lens for obtaining an optical gradient.

According to a third variant of this motion detection method, it comprises a step for defining an intensity threshold under which the extracting means do not extract any motion features. This intensity threshold is advantageously adjustable. Alternatively, The method comprises sub-steps consisting in defining at least two intensity thresholds under which the extracting means do not extract any motion features; and selecting one of the at least two intensity thresholds.

Having described the invention with regard to certain specific embodiments, it is to be understood that these embodiments are not meant as limitations of the invention. Indeed, various modifications and/or adaptations may become apparent to those skilled in the art without departing from the scope of the annexed claims. For instance, the proposed method may be adapted to extract motion features by comparing light intensity variations of pixels over time. 

1-18. (canceled)
 19. A method for measuring relative motion between an illuminated portion of a surface and an optical sensing device, wherein the optical sensing device comprises a coherent light source and a photo-detector device, wherein the photo-detector includes an array of pixels associated with comparators for comparing light intensity between neighbouring pixels, said method comprising the steps of: (a) illuminating by means of said coherent light source said surface portion at a determined flash rate; (b) detecting by means of said photo-detector device a speckled light intensity pattern, defining first and second axes, of said illuminated portion of the surface for each flash and determining positive and negative edges in this pattern along said first and second axes; (c) extracting Peaks and Nulls for each of said detected speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; (d) determining a measurement of the relative motion between said optical sensing device and said illuminated portion of the surface based on a comparison of extracted Peaks and Nulls of successive detected speckled light intensity patterns; wherein said method further comprises the preliminary step of (e) modifying or adjusting a light intensity gradient under which said surface portion is illuminated.
 20. A method for measuring relative motion between an illuminated portion of a surface and an optical sensing device, wherein the optical sensing device comprises a coherent light source and a photo-detector device, wherein the photo-detector device includes an array of pixels associated with comparators for comparing light intensity between neighbouring pixels, said method comprising the steps of: (a) illuminating by means of said coherent light source said surface portion at a determined flash rate; (b) detecting by means of said photo-detector device a speckled light intensity pattern, defining first and second axes, of said illuminated portion of the surface for each flash and determining positive and negative edges in this pattern along said first and second axes; (c) extracting Peaks and Nulls for each of said detected speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; (d) determining a measurement of the relative motion between said optical sensing device and said illuminated portion of the surface based on a comparison of extracted Peaks and Nulls of successive detected speckled light intensity patterns; wherein, before extracting Peaks and Nulls, said method further comprises the step of (e) introducing an offset at one input of said comparators.
 21. The method according to claim 20, wherein said offset is adjustable.
 22. The method according to claim 21, wherein a feedback loop acts on the comparator offsets for adjusting density of Peaks and Nulls for optimal tracking performances.
 23. The method according to claim 20, further comprising a step of keeping only pairs of neighbouring Peak and Null and ignoring individually occurring Peaks and Nulls.
 24. The method according to claim 20, further comprising a step of defining an intensity threshold under which said Peaks and Nulls are not extracted.
 25. The method according to claim 23, further comprising a step of defining an intensity threshold under which said Peaks and Nulls are not extracted.
 26. The method according to claim 24, wherein said intensity threshold is adjustable.
 27. The method according to claim 20, further comprising a preliminary step of modifying or adjusting a light intensity gradient under which said surface portion is illuminated.
 28. A method for measuring relative motion between an illuminated portion of a surface and an optical sensing device, wherein the optical sensing device comprises a coherent light source and a photo-detector device, wherein the photo-detector device includes an array of pixels associated with comparators for comparing light intensity between neighbouring pixels, said method comprising the steps of: (a) illuminating by means of said coherent light source said surface portion at a determined flash rate; (b) detecting by means of said photo-detector device a speckled light intensity pattern, defining first and second axes, of said illuminated portion of the surface for each flash and determining positive and negative edges in this pattern along said first and second axes; (c) extracting Peaks and Nulls for each of said detected speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; (d) determining a measurement of the relative motion between said optical sensing device and said illuminated portion of the surface based on a comparison of extracted Peaks and Nulls of successive detected speckled light intensity patterns; and (e) defining an intensity threshold under which said Peaks and Nulls are not extracted.
 29. The method according to claim 28, wherein the method further comprises the step of introducing an offset at one input of said comparators.
 30. The method according to claim 28, wherein said intensity threshold is adjustable.
 31. The method according to claim 29, wherein said offset is adjustable.
 32. An optical motion sensing device comprising: (a) a coherent light source for illuminating a surface portion with radiation at a determined flash rate; (b) a photo-detector device disposed to respond to radiation reflected from the illuminated surface portion and determining a speckled light intensity pattern of said illuminated surface portion for each flash, wherein said intensity pattern defines first and second axes; (c) means for determining positive and negative edges in this pattern along said first and second axes; (d) means for extracting Peaks and Nulls for each of said speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; (e) processing means for determining, based on said extracted Peaks and Nulls of successive detected speckled light intensity patterns, a measurement of relative motion between said optical motion sensing device and said illuminated portion of the surface; and (f) filtering means disposed to modify or adjust the light intensity gradient of said radiation impinging on said surface portion.
 33. An optical motion sensing device comprising: (a) a coherent light source for illuminating a surface portion with radiation at a determined flash rate; (b) a photo-detector device, disposed to be responsive to radiation reflected from the illuminated surface portion and determining a speckled light intensity pattern of said illuminated surface portion for each flash, wherein said intensity pattern defines first and second axes; (c) means for determining positive and negative edges in this pattern along said first and second axes; (d) means for extracting Peaks and Nulls for each of said speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; and (e) processing means for determining, based on said extracted Peaks and Nulls of successive detected speckled light intensity patterns, a measurement of relative motion between said optical motion sensing device and said illuminated portion of the surface; wherein said photo-detector device comprises an array of pixels, and said means for determining positive and negative edges comprises comparators for comparing light intensity between neighbouring pixels in order to determine these positive and negative edges; and (f) filtering means formed by an offset at one input of said comparators.
 34. The optical motion sensing device according to claim 33, wherein said offset is an adjustable offset.
 35. The optical motion sensing device according to claim 34, wherein the device further comprises: (g) a feedback loop acting on said adjustable offset for adjusting the density of Peaks and Nulls.
 36. The optical motion sensing device according to claim 33, wherein said processing means comprises selecting means for keeping only pairs of neighbouring Peaks and Nulls and ignoring individually occurring Peaks and Nulls.
 37. The optical motion sensing device according to claim 36, wherein the filtering means defines an intensity threshold under which said Peaks and Nulls are not extracted.
 38. An optical motion sensing device comprising: (a) a coherent light source for illuminating a surface portion with radiation at a determined flash rate; (b) a photo-detector device disposed to be responsive to radiation reflected from the illuminated surface portion and determining a speckled light intensity pattern of said illuminated surface portion for each flash, wherein said intensity pattern defines first and second axes; (c) first means for determining positive and negative edges in this pattern along said first and second axes, wherein the first means is associated with the photo-detector; (d) second means for extracting Peaks and Nulls for each of said speckled light intensity patterns by respectively defining successions of a positive edge and a negative edge and successions of a negative edge and a positive edge; and (e) processing means for determining, based on said extracted Peaks and Nulls of successive detected speckled light intensity patterns, a measurement of relative motion between said optical motion sensing device and said illuminated portion of the surface; and (f) filtering means defining an intensity threshold under which said extracting means do not extract any Peaks and Nulls.
 39. The optical motion sensing device according to claim 38, wherein said intensity threshold is adjustable.
 40. The optical motion sensing device according to claim 38, wherein said photo-detector device comprises an array of pixels, and said first means associated with the photo-detector comprises comparators for comparing light intensity between neighbouring pixels in order to determine said positive and negative edges, and wherein said optical motion sensing device further comprises an additional filtering means formed by an offset at one input of said comparators.
 41. The optical motion sensing device according to claim 38, wherein said processing means comprises selecting means for keeping only pairs of neighbouring Peaks and Nulls and ignoring individually occurring Peaks and Nulls. 